<?php
	class ListModel extends Model
	{
		function ListModel()
		{
			parent::Model();
			$this->load->database();
		}
		function get_news()
		{
			$this->db->select('*')->from('gaoji_news ')->order_by('times');
			$catsql = $this->db->get();
			if ($catsql->num_rows() > 0)
			 {
	    	return $catsql->result();
	   		} 
	   		else
	   		{
	     	return FALSE;
			}
		}
	}
?>